Class PersonEntities
Inheritance
System.Object
System.Data.Entity.DbContext
PersonEntities
Implements
System.IDisposable
System.Data.Entity.Infrastructure.IObjectContextAdapter
Inherited Members
System.Data.Entity.DbContext.Set<TEntity>()
System.Data.Entity.DbContext.Set(System.Type)
System.Data.Entity.DbContext.SaveChanges()
System.Data.Entity.DbContext.SaveChangesAsync()
System.Data.Entity.DbContext.SaveChangesAsync(System.Threading.CancellationToken)
System.Data.Entity.DbContext.GetValidationErrors()
System.Data.Entity.DbContext.ShouldValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry)
System.Data.Entity.DbContext.ValidateEntity(System.Data.Entity.Infrastructure.DbEntityEntry, System.Collections.Generic.IDictionary<System.Object, System.Object>)
System.Data.Entity.DbContext.Entry<TEntity>(TEntity)
System.Data.Entity.DbContext.Entry(System.Object)
System.Data.Entity.DbContext.Dispose()
System.Data.Entity.DbContext.Dispose(System.Boolean)
System.Data.Entity.DbContext.Database
System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.ObjectContext
System.Data.Entity.DbContext.ChangeTracker
System.Data.Entity.DbContext.Configuration
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DiplomaTT.DB
Assembly: DiplomaTT.dll
Syntax
public class PersonEntities : DbContext, IDisposable, IObjectContextAdapter
Constructors
PersonEntities()
Declaration
public PersonEntities()
Properties
People
Declaration
public virtual DbSet<Person> People { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Data.Entity.DbSet<Person> |
Tokens
Declaration
public virtual DbSet<Token> Tokens { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Data.Entity.DbSet<Token> |
Methods
GetNextSequenceValuePerson()
Declaration
public virtual ObjectResult<long? > GetNextSequenceValuePerson()
Returns
| Type | Description |
|---|---|
| System.Data.Entity.Core.Objects.ObjectResult<System.Nullable<System.Int64>> |
GetNextSequenceValueToken()
Declaration
public virtual ObjectResult<long? > GetNextSequenceValueToken()
Returns
| Type | Description |
|---|---|
| System.Data.Entity.Core.Objects.ObjectResult<System.Nullable<System.Int64>> |
OnModelCreating(DbModelBuilder)
Declaration
protected override void OnModelCreating(DbModelBuilder modelBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Data.Entity.DbModelBuilder | modelBuilder |
Overrides
System.Data.Entity.DbContext.OnModelCreating(System.Data.Entity.DbModelBuilder)
Implements
System.IDisposable
System.Data.Entity.Infrastructure.IObjectContextAdapter